home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr11
/
pdox693.zip
/
TI526.ASC
< prev
next >
Wrap
Text File
|
1992-08-12
|
1KB
|
67 lines
PRODUCT : PARADOX NUMBER : 526
VERSION : ALL
OS : DOS
DATE : August 12, 1992 PAGE : 1/1
TITLE : SCAN LOOP TO PLACE THE RECORD NUMBER
IN A REGULAR FIELD
This is an example of a simple scan loop. The main purpose of a
scan is to examine each record of a table executing each group of
commands within the loop on each record. We make use of a table
called TEST that has a numeric field called Number.
View "TEST" ; Call the TEST table.
Editkey ; Simulates pressing [F9] to Edit Mode.
Moveto[Number] ; Move to the field named Number.
Scan ; Start the scan loop.
[] = Recno() ; Assign the record number to the field.
EndScan ; Quit the scan loop.
Do_It! ; Save the changes to the table.
DISCLAIMER: You have the right to use this technical information
subject to the terms of the No-Nonsense License Statement that
you received with the Borland product to which this information
pertains.